import http from '../utils/http'

// 购物车
export const getCartList = (userid: string) => http.post('/cart/list', { userid })

// 加入购物车
export const addCartHandler = (userid: string, proid: string, num: number) => http.post('/cart/add', { userid, proid, num })